package com.retail.marketing.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.retail.common.core.annotation.Excel;
import com.retail.common.core.web.domain.BaseEntity;

/**
 * 用户库存管理对象 t_user_repertory
 *
 * @author retail
 * @date 2024-03-01
 */
public class TUserRepertory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户库存ID */
    private Integer userRepertoryId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 优惠券ID */
    @Excel(name = "优惠券ID")
    private Integer couponId;

    /** 积分 */

    public void setUserRepertoryId(Integer userRepertoryId)
    {
        this.userRepertoryId = userRepertoryId;
    }

    public Integer getUserRepertoryId()
    {
        return userRepertoryId;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setCouponId(Integer couponId)
    {
        this.couponId = couponId;
    }

    public Integer getCouponId()
    {
        return couponId;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userRepertoryId", getUserRepertoryId())
            .append("userId", getUserId())
            .append("couponId", getCouponId())
            .toString();
    }
}
